package com.fs.po;

import android.graphics.drawable.Drawable;


/**
 * 用户数据
 * @author chenwenfei
 *
 */
public class UserData {

	private Drawable icon;// ͷ��
	private String name;// ����
	private String password;// ����
	private String tel;// �绰
	private String sex;// �Ա�
	private int age;// ����
	private int class_id;// �γ�
	private int user_id;

	public UserData(Drawable icon, String name, String password, String tel,
			String sex, int age, int class_id, int user_id) {
		super();
		this.icon = icon;
		this.name = name;
		this.password = password;
		this.tel = tel;
		this.sex = sex;
		this.age = age;
		this.class_id = class_id;
		this.user_id = user_id;
	}
	
	
	public UserData(Drawable icon, String name, String password, String tel,
			String sex, int age,int user_id) {
		super();
		this.icon = icon;
		this.name = name;
		this.password = password;
		this.tel = tel;
		this.sex = sex;
		this.age = age;
		this.user_id = user_id;
	}
	 

	public UserData(String name, String password) {
		super();
		this.name = name;
		this.password = password;
	}

	public Drawable getIcon() {
		return icon;
	}

	public void setIcon(Drawable icon) {
		this.icon = icon;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getClass_id() {
		return class_id;
	}

	public void setClass_id(int class_id) {
		this.class_id = class_id;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	@Override
	public String toString() {
		return "UserData [icon=" + icon + ", name=" + name + ", password="
				+ password + ", tel=" + tel + ", sex=" + sex + ", age=" + age
				+ ", class_id=" + class_id + ", user_id=" + user_id + "]";
	}

}
